import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ConVersionComponent} from './con-version.component';

const routes: Routes = [
    {path: '', component: ConVersionComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-con-version/add-con-version.module#AddConVersionModule'},
            {path: 'list', loadChildren: './list-con-version/list-con-version.module#ListConVersionModule'},
            {path: 'modify', loadChildren: './modify-con-version/modify-con-version.module#ModifyConVersionModule'},
            {path: 'report', loadChildren: './report-con-version/report-con-version.module#ReportConVersionModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ConVersionRoutingModule {
}
